package wheel;

import java.util.Scanner;

public abstract class Contestant implements Player {
	protected String name;
	protected int winnings;  			// Running total of winnings during round.
	protected int confirmedWinnings;  	// Running total of winnings after round's end.
	
	Scanner keyboard = new Scanner(System.in);
	public static final String CONTESTANT_ACTIONS = "wvs";
	public static final String FREE_SPIN_ACTIONS = "cvs";
	
	// Constructor
	public Contestant(String name) {
		this.name = name;
		this.winnings = 0;
		this.confirmedWinnings = 0;
	}
	
	// Methods
	
	public void incrementWinnings(int amount) {
		this.winnings += amount;
	}
	
	public abstract void speak();
	
	
	// Getters and Setters
	public String getName() {
		return name;
	}
	public void setName(String name) {
			this.name = name;
	}
	public int getWinnings() {
		return winnings;
	}
	public void setWinnings(int winnings) {
		this.winnings = winnings;
	}
	public int getConfirmedWinnings() {
		return confirmedWinnings;
	}
	public void setConfirmedWinnings(int confirmedWinnings) {
		this.confirmedWinnings = confirmedWinnings;
	}

	
}
